
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>SIMS - Login</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon"/>
        <link rel="stylesheet" type="text/css" href="css/style.css" />
		<script src="js/cufon-yui.js" type="text/javascript"></script>
		<script src="js/ChunkFive_400.font.js" type="text/javascript"></script>
		<script type="text/javascript">
			Cufon.replace('h1',{ textShadow: '1px 1px #fff'});
			Cufon.replace('h2',{ textShadow: '1px 1px #fff'});
			Cufon.replace('h3',{ textShadow: '1px 1px #000'});
			Cufon.replace('.back');
		</script>
    </head>
    <body>
		<div class="wrapper">
			<center><h1>SIMS</h1>
			<h2>Sistem Informasi Manajemen Sapi</h2></center>
			<div class="content">
				<div id="form_wrapper" class="form_wrapper">
					<?= form_open('auth/login', 'class="login active" name="login_form" method="post"'); ?>
						<h3>Login</h3>
						<div style="background: #464646;color:#fff;font-size:14px;padding-left:3%;">
						<?php 
							$message = $this->session->flashdata('error_message');
							if (!empty($message)){
							echo $message == '' ? '' : $message;
							}
							?>
						</div>
						<div>
							<label>Username:</label>
							<input type="text" name="username" id="username" />
						</div>
						<div>
							<label>Password:</label>
							<input type="password" name="password" id="password" type="password" />
						</div>
						<div class="bottom">
							<input type="submit" value="Login"></input>
							<div class="clear"></div>
						</div>
					<?= form_close(); ?>
				</div>
				<div class="clear"></div>
			</div>
		</div>

    </body>
</html>